Using Dotdeb is very simple:
1. Add the main repository to your sources.list
Depending on your distribution (Jessie or Wheezy), add these two lines to your /etc/apt/sources.list file:
deb http://packages.dotdeb.org jessie all deb-src http://packages.dotdeb.org jessie all
or
deb http://packages.dotdeb.org wheezy all deb-src http://packages.dotdeb.org wheezy all
2. Options
If you want to install :
- Nginx with “full” HTTP2 support (with ALPN negotiation) on Debian 8 “Jessie”, activate the jessie-backports repository, install OpenSSL 1.0.0 (apt-get install -t jessie-backports libssl1.0.0) and add these two lines too :
deb http://packages.dotdeb.org jessie-nginx-http2 all deb-src http://packages.dotdeb.org jessie-nginx-http2 all
- PHP 5.6 on Debian 7 “Wheezy” (without Zend thread safety), add these two lines too :
deb http://packages.dotdeb.org wheezy-php56 all deb-src http://packages.dotdeb.org wheezy-php56 all
- PHP 5.6 on Debian 7 “Wheezy” (with Zend thread safety), add these two lines instead :
deb http://packages.dotdeb.org wheezy-php56-zts all deb-src http://packages.dotdeb.org wheezy-php56-zts all
- PHP 5.5 on Debian 7 “Wheezy”, add these two lines too :
deb http://packages.dotdeb.org wheezy-php55 all deb-src http://packages.dotdeb.org wheezy-php55 all
3. Fetch and install the GnuPG key
wget http://localhost:8080/dotdeb.gpg sudo apt-key add dotdeb.gpg
4. Enjoy
Run apt-get update. You should now be able to install the Dotdeb packages you want with apt-get (or dselect, or aptitude as well…)
Notes :
- old packages are kept on http://archives.dotdeb.org/
- packaging scripts are archived on Github